/**
 * Date: 2022/1/14
 * Author: january
 * Description: 
 */

#ifndef LIBSECRYPTO_BASE64_H
#define LIBSECRYPTO_BASE64_H

int base64_encode( unsigned char *dst, int dlen, int *olen,
                   const unsigned char *src, int slen );
/*
 * Decode a base64-formatted buffer
 */
int base64_decode( unsigned char *dst, int dlen, int *olen,
                   const unsigned char *src, int slen );

#endif //LIBSECRYPTO_BASE64_H
